/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const contractRouter = {
	path: '/contract',
	component: Layout,
	redirect: '/contract/realNameCertified',
	name: '电子合同',
	meta: {
		title: '电子合同',
		icon: 'contract'
	},
	children: [{
			path: 'realNameCertified',
			component: () => import('@/views/contract/realNameCertified'),
			name: '实名认证',
			meta: {
				title: '实名认证'
			}
		}, {
			path: 'sealManage',
			component: () => import('@/views/contract/sealManage'),
			name: '印章管理',
			meta: {
				title: '印章管理'
			}
		}, {
			path: 'contractTemplate',
			component: () => import('@/views/contract/contractTemplate'),
			name: '合同模板',
			meta: {
				title: '合同模板'
			}
		}, {
			path: 'contractTemplateUpload',
			component: () => import('@/views/contract/contractTemplateUpload'),
			name: '合同模板',
			meta: {
				title: '合同模板',
				activeMenu: '/contract/contractTemplate'
			},
			hidden: true
		}, {
			path: 'contractInitiateTwo',
			component: () => import('@/views/contract/contractInitiateTwo'),
			name: '发起合同',
			meta: {
				title: '发起合同',
				activeMenu: '/contract/contractTemplate'
			},
			hidden: true
		},  {
			path: 'contractInitiate',
			component: () => import('@/views/contract/contractInitiate'),
			name: '发起合同',
			meta: {
				title: '发起合同'
			}
		},
		{
			path: 'myContract',
			component: () => import('@/views/contract/myContract'),
			name: '合同列表',
			meta: {
				title: '合同列表'
			}
		},
		{
			path: 'contractList',
			component: () => import('@/views/contract/contractList'),
			name: '全部合同',
			meta: {
				title: '全部合同',
				activeMenu: '/contract/myContract'
			},
			hidden: true
		},
		{
			path: 'contractRecharge',
			component: () => import('@/views/contract/contractRecharge'),
			name: '充值',
			meta: {
				title: '充值'
			}
		},
		{
			path: 'contractRechargeRecord',
			component: () => import('@/views/contract/contractRechargeRecord'),
			name: '充值记录',
			meta: {
				title: '充值记录',
				activeMenu: '/contract/contractRecharge'
			},
			hidden: true
		}
	]
}
export default contractRouter